'''
Author: 码上talk|RC
Date: 2021-06-09 14:29:09
LastEditTime: 2021-06-09 14:33:36
LastEditors: 码上talk|RC
Description: 
FilePath: /server-py/utils/argv_util.py
微信:  13680065830
邮箱:  3189482282@qq.com
oops: Just do what I think it is right
'''
import sys


def argv_util(k, s='--'):
    for i in sys.argv:
        j = i.split('=')
        if j[0] == s + k:
            return j[1]
    return ''
